﻿
using Assets.Scripts.Manager;
using UnityHFSM;

public class LoadState : State<State>
{
    public override void OnEnter()
    {
        var obj = UIManager.Instance.Show(GameState.Reset);
        var ui = obj.GetComponent<CrossStageView>();
        ui.Load(GameSystem.Instance.CurrentStageIndex, GameSystem.Instance.ResetCount);
    }
}

